//
//  PollingDetailCell.m
//  OperationPro
//
//  Created by yaxue wang on 2017/1/6.
//  Copyright © 2017年 展鸿科技. All rights reserved.
//

#import "PollingDetailCell.h"

@interface PollingDetailCell()

@end
@implementation PollingDetailCell
- (void)initView{
    [super initView];
    self.backgroundColor =[UIColor whiteColor];
  
    _nameLab=[[UILabel alloc]initWithFrame:CGRectMake(25, 0, 90, 44)];
    _nameLab.textColor=MainColor;
    _nameLab.font=F(15);
    [self addSubview:_nameLab];
    UIImage *successImage=[UIImage imageNamed:@"Ico_input_success"];
    _successImg=[[UIImageView alloc]initWithFrame:CGRectMake(CGRectGetMaxX(_nameLab.frame)+5,(44-successImage.size.height)/2, successImage.size.width, successImage.size.height)];
    [self addSubview:_successImg];
    
    _line=[[UILabel alloc]initWithFrame:CGRectMake(25,44-0.5, WindowWidth-25, 0.5)];
    _line.backgroundColor=LineColor;
    [self addSubview:_line];
    


}

@end
